using System;
using System.Collections.Generic;
using System.Text;

namespace HREngine.Bots
{
	class Sim_DAL_769 : SimTemplate //提振士气
	{

//    fügt einem diener $1 schaden zu. zieht eine karte, 则将一张跟班牌置入你的手牌.

		public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
		{

            int dmg = (ownplay) ? p.getSpellDamageDamage(1) : p.getEnemySpellDamageDamage(1);
            if (target.Hp > dmg || target.immune || target.divineshild)
            {
                //this.owncarddraw++;
                p.drawACard(CardDB.cardName.ethereallackey, ownplay);
            }
            p.minionGetDamageOrHeal(target, dmg);
            
		}

	}
}